package com.ruoyi.foodworks.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.foodworks.mapper.FoodWorksUsersMapper;
import com.ruoyi.foodworks.domain.Users;
import com.ruoyi.foodworks.service.UsersService;

import javax.annotation.Resource;

/**
 * 用户信息Service业务层处理
 * 
 * @author lpt
 * @date 2025-08-12
 */
@Service("foodworksUsersService")
public class UsersServiceImpl implements UsersService
{
    @Resource
    private FoodWorksUsersMapper usersMapper;

    /**
     * 根据用户ID查询用户信息
     * 
     * @param userId 用户ID
     * @return 用户信息
     */
    @Override
    public Users selectUsersById(Integer userId)
    {
        return usersMapper.selectUsersById(userId);
    }
}

